<?php (!defined('IN_SYSTEM') || !defined('ADMIN_PRE')) && exit('Access Denied!');?>
{admintemplate header}
<div class="box">
 	<div class="heading">
		<h1>主题列表</h1>
	</div>
	<div class="main">	
		<table width="100%">
			<tr>
				<td>
					<?php foreach ($themes as $theme) {?>
					<dl class="theme<?php if ($theme['directory'] == $cur_theme) echo ' current';?>">
						<dt><a href="?m=theme&f=settheme&theme=<?php echo $theme['directory']?>" title="应用该主题"><img src="<?php echo $theme['path'].$theme['thumb']?>" /></a></dt>
						<dd class="theme_name"><?php echo $theme['name']?></dd>
						<dd>作者：<?php echo $theme['author']?></dd>
						<dd>版本：<?php echo $theme['version']?></dd>
						<dd>时间：<?php echo $theme['pubdate']?></dd>
						<dd>主页：<a href="<?php echo $theme['homepage']?>" target="_blank"><?php echo $theme['homepage']?></a></dd>
						<dd title="<?php echo $theme['intro']?>">简介：<?php echo cut_str($theme['intro'],60)?></dd>
					</dl>
					<?php }?>
				</td>
			</tr>
		</table>
	</div>
</div>
{admintemplate footer}